﻿namespace Kurax.BoardGames.Client.Engine {
    public class GameContext {
        private static GameContext current;

        public static GameContext Current {
            get {
                return current ?? (current = new GameContext());
            }
        }

        private User user;
        private Credentials credentials;

        public User User {
            get {
                return this.user ?? (this.user = new User());
            }
        }

        public Credentials Credentials {
            get {
                return this.credentials ?? (this.credentials = new Credentials());
            }
        }

        private GameContext() {
            //
        }
    }
}
